package com.infore.maintenance.main.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.infore.common.model.entity.TBaseDatasource;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
/**
 * <p>
 * 数据源 Mapper 接口
 * </p>
 *
 * @author lijh
 * @since 2022-12-20
 */
@Mapper
@Component
public interface TBaseDatasourceMapper extends BaseMapper<TBaseDatasource> {


//    @Select("select id,database_code,database_type,driver_class_name,jdbc_url,database_schema from t_base_datasource where database_code=#{databaseCode} ")
//    TBaseDatasource queryDatabaseByCode(@Param("databaseCode")  String databaseCode);

}
